@import './base.css';

* {
  outline: none !important;
}

:focus {
  outline: none !important;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background-image: url('./wavy-lines.svg'); */
  background: transparent;
  user-select: none;
}

#root {
  width: 100%;
  height: 100vh;
}

.react {
  font-weight: 700;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1010;
}

.loader {
  width: 28px;
  height: 28px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  margin-right: 0.5rem;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.titlebar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2rem;
  z-index: 1010;
}

.titlebar {
  width: 100%;
  height: 100%;
  padding: 0rem;
  background: black;
  opacity: 1;
  display: flex;
  align-items: right;
  justify-content: space-between;
  border-radius: 10px;
  opacity: 0.8;
  -webkit-app-region: drag;
}

.titlebar-item {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-app-region: no-drag;
}

video {
  position: absolute;
  bottom: 0rem;
  left: 0;
  width: 100px;
  z-index: 2;
  display: none;
}

.scene {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  /* border-radius: 8px; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat {
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: 1rem;
  right: 15%;
  width: 70%;
  z-index: 1010;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 12px;
}
